:root{
  --bg: #0f1724;
  --card: #0b1220;
  --accent: #ff6b6b;
  --muted: #94a3b8;
}

*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(180deg,#071021 0%, #0f1724 100%);
  font-family:Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color:#e6eef8;
  padding:20px;
}

.container{
  width:100%;
  max-width:920px;
  background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius:12px;
  padding:18px;
  box-shadow: 0 10px 30px rgba(2,6,23,0.6);
  display:flex;
  flex-direction:column;
  gap:12px;
}

header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}
header h1{
  font-size:1.4rem;
  letter-spacing:0.5px;
  color:#ffffff;
}
.info{display:flex;gap:14px;font-size:0.95rem;color:var(--muted)}
canvas{
  background: linear-gradient(180deg,#081226 0%, #052037 100%);
  border-radius:8px;
  width:100%;
  height:auto;
  display:block;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.5), 0 8px 30px rgba(2,6,23,0.6);
}

.controls{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}
button{
  background:var(--accent);
  border:none;
  color:white;
  padding:8px 14px;
  border-radius:8px;
  cursor:pointer;
  font-weight:600;
}
button:active{transform:translateY(1px)}
.toggle{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:0.95rem}
footer{color:var(--muted);font-size:0.85rem;text-align:center;padding-top:6px}
small{color:var(--muted)}
@media (max-width:600px){
  header{flex-direction:column;align-items:flex-start}
  .info{flex-wrap:wrap}
}
